home *** CD-ROM | disk | FTP | other *** search
/ Surfin' Sam - A Hilariously Interactive Game / Surfin Sam.iso / pc / sam_232.dir / 00442.ls < prev    next >
Encoding:
Text File  |  1995-07-17  |  2.6 KB  |  89 lines

  1. on loccheck
  2.   global mylist
  3.   scorecheck()
  4.   if getAt(mylist, 7) = 0 then
  5.     if the machineType <> 256 then
  6.       puppetTransition(51, 1, 90)
  7.     end if
  8.     if the machineType = 256 then
  9.       puppetPalette("palette map", 60, 1)
  10.     end if
  11.     set the visible of sprite 48 to 0
  12.     set the visible of sprite 15 to 0
  13.     go("map")
  14.   else
  15.     if getAt(mylist, 7) = 1 then
  16.       if the machineType <> 256 then
  17.         puppetTransition(51, 1, 90)
  18.       end if
  19.       if the machineType = 256 then
  20.         puppetPalette("palette map", 60, 1)
  21.       end if
  22.       set the visible of sprite 48 to 0
  23.       set the visible of sprite 15 to 0
  24.       go("map")
  25.     else
  26.       if getAt(mylist, 7) = 2 then
  27.         if the machineType <> 256 then
  28.           puppetTransition(51, 1, 90)
  29.         end if
  30.         if the machineType = 256 then
  31.           puppetPalette("palette map", 60, 1)
  32.         end if
  33.         set the visible of sprite 48 to 0
  34.         set the visible of sprite 15 to 0
  35.         go("map")
  36.       else
  37.         if getAt(mylist, 7) = 3 then
  38.           if the machineType <> 256 then
  39.             puppetTransition(51, 1, 90)
  40.           end if
  41.           if the machineType = 256 then
  42.             puppetPalette("palette map", 60, 1)
  43.           end if
  44.           set the visible of sprite 48 to 0
  45.           set the visible of sprite 15 to 0
  46.           go("map")
  47.         else
  48.           if getAt(mylist, 7) = 4 then
  49.             if the machineType <> 256 then
  50.               puppetTransition(51, 1, 90)
  51.             end if
  52.             if the machineType = 256 then
  53.               puppetPalette("palette map", 60, 1)
  54.             end if
  55.             set the visible of sprite 48 to 0
  56.             set the visible of sprite 15 to 0
  57.             go("map")
  58.           else
  59.             if getAt(mylist, 7) = 5 then
  60.               if the machineType <> 256 then
  61.                 puppetTransition(51, 1, 90)
  62.               end if
  63.               if the machineType = 256 then
  64.                 puppetPalette("palette map", 60, 1)
  65.               end if
  66.               set the visible of sprite 48 to 0
  67.               set the visible of sprite 15 to 0
  68.               go("map")
  69.             else
  70.               if getAt(mylist, 7) = 6 then
  71.                 if the machineType <> 256 then
  72.                   puppetTransition(51, 1, 90)
  73.                 end if
  74.                 if the machineType = 256 then
  75.                   puppetPalette("palette map", 60, 1)
  76.                 end if
  77.                 set the visible of sprite 48 to 0
  78.                 set the visible of sprite 15 to 0
  79.                 go("map")
  80.               end if
  81.             end if
  82.           end if
  83.         end if
  84.       end if
  85.     end if
  86.   end if
  87.   cursor(200)
  88. end
  89.